package com.ximu.test.hibernate.bean;

public class Message {
	
	private Integer id;
	
	private Integer pid;
	
	private Integer uid;
	
	private String contents;
	
	private Integer time;
	
	private Integer ip;
	
	private User user;
	
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getId() {
		return id;
	}
	
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	
	public Integer getPid() {
		return pid;
	}
	
	public void setContents(String contents) {
		this.contents = contents;
	}
	
	public String getContents() {
		return contents;
	}
	
	public void setTime(Integer time) {
		this.time = time;
	}
	
	public Integer getTime() {
		return time;
	}
	
	public void setIp(Integer ip) {
		this.ip = ip;
	}
	
	public Integer getIp() {
		return ip;
	}
	
	public Integer getUid(){
		return uid;
	}
	
	public void setUid(Integer uid){
		this.uid = uid;
	}
	
	public User getUser(){
		return user;
	}
	
	public void setUser(User user){
		this.user = user;
	}
}
